<ion-view hide-nav-bar="true" hide-back-button="true" view-title="welcome">
    <ion-content class="padding">
        <div class="custom-center">
            <img ng-src="img/cartgogo_logo.jpg" style="width: 80%">
        </div>

        <div class="custom-center">
            <h3>Hey Lei,</h3>
            <div style="font-size:19px;color:#666666">Lets develop the best delivery<br>
            service in Champaign-Urbana</div>
        </div>
        <ion-slide-box show-pager="false" auto-play="true" does-continue="true" slide-interval="5000" style="margin-top: 20px">
            <ion-slide>
                <img src="img/banner/banner1.png" width="100%">
            </ion-slide>
            <ion-slide>
                <img src="img/banner/banner2.png"  width="100%">
            </ion-slide>
            <ion-slide>
                <img src="img/banner/banner3.png"  width="100%">
            </ion-slide>
        </ion-slide-box>
        <form class="list" ng-submit="checkDriverUser()">
            <label class="item item-input">
                <span class="input-label">Username</span>
                <input type="text" name="username" id="username" ng-model="user.username">
            </label>
            <label class="item item-input">
                <span class="input-label">Password</span>
                <input type="password" name="password" id="password" ng-model="user.password">
            </label>
            <a class=" button button-balanced button-full " ng-click="checkDriverUser(user)" width="100%">
                Log In
            </a>
        </form>
    </ion-content>
</ion-view>




